
<!-- target:ticket -->
<div class="flex-cont grey-bg" ui="type:m-panel">
    <!-- use:detail.contractTitle -->
    <!-- use:detail.contractInfo -->
    <!-- use:ticketBusinessInfo -->

    <!-- use:fileInfo -->
    <!-- use:approvalPeople -->
    <div class="blank-grey"></div>
</div>
<!-- use:detail.contractComment -->

<!-- target:contractTitle -->
<!-- var:contractInfo = ${contractInfo} || ${detail.contractInfo} -->
<div class="detail-title">
    <!-- var:projectName = ${contractInfo.projectContent} || ${contractInfo.projectName} -->
    <div class="title-text">${projectName}</div>
    <!-- if:${contractInfo.auditState} == 1 -->
    <div class="title-tip">等待${detail.approval.currentApproverName}处理</div>
    <!-- else -->
    <div class="title-tip">${contractInfo.auditStateDesc}</div>
    <!-- /if -->
</div>
<!-- target:contractInfo -->
<!-- var:contractInfo = ${contractInfo} || ${detail.contractInfo} -->
<div class="info-part">
    <div class="info-item">
        <div class="info-label">项目模式</div>
        <div class="info-text">${contractInfo.projectPatternDesc}模式</div>
    </div>
    <div class="info-item">
        <div class="info-label">合同编号</div>
        <div class="info-text">${contractInfo.contractNo}</div>
    </div>
    <div class="info-item">
        <div class="info-label">合同主体</div>
        <div class="info-text">${contractInfo.contractSubject}</div>
    </div>
    <div class="info-item">
        <div class="info-label">预订门店</div>
        <div class="info-text">${contractInfo.venueName}-${contractInfo.yardName}</div>
    </div>
    <div class="info-item">
        <div class="info-label">使用时间</div>
        <div class="info-text">${contractInfo.startTime|dateFormat('yyyy-MM-dd HH:mm:ss')}</div>
    </div>
    <div class="info-item">
        <div class="info-label">客户代表</div>
        <div class="info-text">${contractInfo.customerDelegateName}</div>
    </div>
    <div class="info-item">
        <div class="info-label">客户电话</div>
        <div class="info-text">${contractInfo.customerTel}</div>
    </div>
    <div class="info-item">
        <div class="info-label">经办人</div>
        <div class="info-text">${contractInfo.delegateStaffName}</div>
    </div>
</div>

<!-- target:contractComment -->
<!-- var:auditState = ${detail.auditState} !== undefined ? ${detail.auditState} : ${contractInfo.auditState}; -->
<form class="operate-btn-box" ui="ext-ios-fixed:top" name="contractCommentForm">
    <input class="ui-hide" ui="type:text" name="id" value="${detail.contractInfo.id}" />
    <input class="ui-hide" ui="type:text" name="action" value="" />
    <label ui="type:NS.ContractCommentSave;name:actionRemark;">
        <input class="text" type="text" placeholder="请输入" name="actionRemark" />
        <input class="submit-btn" type="button" disabled value="提交"/>
        <div class="btn-items">
            <strong type="text" class="btn-item comment-item" ui="module:${module};action:7">
                <span class="icon"></span>
                <span>评论</span>
            </strong>
        </div>
    </label>
    <div class="operate-btns">
        <!-- if:${detail.approval.isCurrentApprover} -->
            <!-- if:${detail.contractInfo.auditState} === 1 -->
            <strong class="operate-btn refuse-btn" ui="type:mao.ui.ApprovalSubmitBtn;bType:1;cType:2;tip:审批已拒绝">拒绝</strong>
            <strong class="operate-btn agree-btn" ui="type:mao.ui.ApprovalSubmitBtn;bType:1;cType:3;tip:审批已同意">同意</strong>
            <!-- /if -->
        <!-- /if -->
    </div>
</form>


